<div id="header" class="clearfix">
     <div id="header_top">
         <div class="h_980">
            <ul class="h_top fl">
               <li><a class="home_as h_top_a" href="<{spUrl c=main a=index}>" >Home</a></li>
               
            </ul>
            <ul class="h_top fr">
               <li>Currencies:
                   <form name="currencies" action="<{$URL}>" method="post">                                                     
                       <select name="currency" class="select" onchange="this.form.submit();">
                       <{foreach item=item key=key from=$currency}>
                       <option value="<{$key}>" <{if $smarty.session.currencies_id eq $key}>selected="selected"<{/if}>><{$item.title}></option>
                       <{/foreach}>  
                       </select>
                       <input type="hidden" name="editcurrency" value="1" />
                  </form>
               </li>
               <li><a href="<{spUrl c=main a=ShoppingCart}>" rel="nofollow" class="cart_empty h_top_a">Shopping Cart: <{if $count.count eq ""}>0<{else}><{$count.count}><{/if}> item</a></li>    
               <li class="login_con pl20"><a href="<{spUrl c=main a=Flogin}>?returnurl=<{$smarty.session.request_uri}>" class="Flogin fancybox.iframe" id="Flogin" rel="nofollow" style="display: none;">Log In</a>
                <{if $user.customers_id neq null}>
                   <a href="<{spUrl c=main a=account}>" rel="nofollow"><{T w='My Account'}></a>
                   <a href="<{spUrl c=main a=logout}>?returnurl=<{$smarty.session.request_uri}>" rel="nofollow"><{T w='Logout'}></a>
                   <{else}>
                   <a href="<{spUrl c=main a=login}>?returnurl=<{$smarty.session.request_uri}>" rel="nofollow"><{T w='Log In'}></a><span class=" ml10 mr10">Or</span>
                   <a href="<{spUrl c=main a=CreateAccount}>" rel="nofollow"><{T w='Create Account'}><{$smarty.session.customersinfo.customers_id}></a>
                <{/if}>
               </li>     
            </ul>
         </div>      
     </div>
     <div class="cb"></div>
     <div id="logo" class="h_980">
        <a href="<{spUrl c=main a=index}>" class="fl"><img src="<{$smarty.const.BASEPATH}>/images/logo.png" alt="<{$smarty.const.SITENAME}>" /></a>
        <div class="fr mt10">
            <form action="<{spUrl c=products a=search}>" method="get">
                <input type="text" name="alias" value="<{T w="Enter search keywords here"}>" onfocus="if (this.value == '<{T w="Enter search keywords here"}>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<{T w="Enter search keywords here"}>';}" class="input_text" />
                <input type="submit" class="submit_search" value=""/>
            </form>
        </div>
     </div>
     <div id="menu">
        <div class="h_980 menu_bg">
           <ul class="menu_list">
            <li<{if $ishome}> class="active"<{/if}>><a href="<{spUrl c=main a=index}>" title="Home"><{T w='Home'}></a></a></li>
            <li<{if $isnews}> class="active"<{/if}>><a href="<{spUrl c=news a=index}>" title="News"><{T w='News'}></a></li>
            <li<{if $isproducts}> class="active"<{/if}>><a href="<{spUrl c=products a=index}>" title="Shop"><{T w='Shop'}></a></li>
            <{if $user.customers_id neq null}><li<{if $account}> class="active"<{/if}>><a href="<{spUrl c=main a=account}>" rel="nofollow">My Account</a></li><{/if}>
            <{if $iscart}><li<{if $isShopping}> class="active"<{/if}>><a href="<{spUrl c=main a=ShoppingCart}>" rel="nofollow">View Cart </a></li><{/if}>
           </ul>  
           <span class="meun_cate fl">Categories</span>  	
        </div>
     </div>
     <div class="cb"></div>
</div>